﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Uppg5
{
    public class Node <TKey, TValue>
    {
        public TKey Key { get; set; }
        public TValue Value { get; set; }
        public Node<TKey, TValue> Next { get; set; }

        public Node()
        {
            Next = null;
            Key = default(TKey);
            Value = default(TValue);
        }

        public Node(TKey key, TValue value)
        {
            Next = null;
            Key = key;
            Value = value;
        }
    }
}
